/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package negocio;
import datos.Sp_Consultan;
/**
 *
 * @author Esteban
 */
public class ControladorUsuarios {
    
    private static ControladorUsuarios _Instancia;
    private Sp_Consultan _Sp_Consultan;
    private ControladorUsuarios(){}
    
    public static ControladorUsuarios getInstancia(){
        if(_Instancia == null)
            _Instancia = new ControladorUsuarios();
        return _Instancia;
    }
    
    public boolean validarUser(String user, String pass){
        _Sp_Consultan = Sp_Consultan.getInstance();
        return _Sp_Consultan.SP_VerificaLogin(user, pass);
    }
}

